﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace QUANLYNHASACH
{
    [TestFixture]
    public class testTheLoai
    {
        /// <summary>
        /// test them the loai voi thong tin day du va chinh xac
        /// </summary>
        [Test]
        public void ThemTheLoai_test()
        {
            bool result = QUANLYNHASACH.App_code.BLL.THELOAI_BLL.ThemTheLoai("3", "tham khao");
            
            Assert.AreEqual(result, true);
        }


        [Test]

        public void SuaTheLoai_test()
        {
            bool result = QUANLYNHASACH.App_code.BLL.THELOAI_BLL.suaTheLoai("3", "tham khao new");
            Assert.AreEqual(result, true);
        }

        [Test]
        public void XoaTheLoai_test()
        {
            bool result = QUANLYNHASACH.App_code.BLL.THELOAI_BLL.xoaTheLoai("3");
            Assert.AreEqual(result, true);
        }
    }
}
